package service

import (
	sqlc "bgs/db/sqlc"
)

func (s *AfterSaleServiceImp) MapAfterSaleDetailEntityToPtr(list []sqlc.AfterSaleDetail) []*sqlc.AfterSaleDetail {
	ptrs := make([]*sqlc.AfterSaleDetail, len(list))
	for i := range list {
		ptrs[i] = &list[i]
	}
	return ptrs
}
